package troisdimension.client;

import java.util.List;

public class PointCentral extends Point {

	private double degreX = 0;
	private double degreY = 0;
	private double degreZ = 0;
	private double focal = 0;
	private List<Point> listePoint = null;
	
	public PointCentral(double x, double y, double z,double dx,double dy,double dz, double f) {
	   super(x,y,z);
       this.setDegreX(dx);
       this.setDegreY(dy);
       this.setDegreZ(dz);
       this.setFocal(f);
	}

	public double getDegreX() {
		return degreX;
	}

	public void setDegreX(double degreX) {
		this.degreX = degreX;
	}

	public double getDegreY() {
		return degreY;
	}

	public void setDegreY(double degreY) {
		this.degreY = degreY;
	}

	public double getDegreZ() {
		return degreZ;
	}

	public void setDegreZ(double degreZ) {
		this.degreZ = degreZ;
	}

	public double getFocal() {
		return focal;
	}

	public void setFocal(double focal) {
		this.focal = focal;
	}

	public void setListePoint(List<Point> listePoint) {
		this.listePoint = listePoint;
	}

	public List<Point> getListePoint() {
		return listePoint;
	}
	
	public void tournerX(double v){
		this.setDegreX(this.getDegreX() + v);
	}
	
	public void tournerY(double v){
		this.setDegreY(this.getDegreY() + v);
	}
	
	public void tournerZ(double v){
		this.setDegreZ(this.getDegreZ() + v);
	}	
	
	public void setValue(double x, double y, double z,double dx,double dy,double dz, double f){
		   this.setXA(x);
		   this.setYA(y);
		   this.setZA(z);		   
	       this.setDegreX(dx);
	       this.setDegreY(dy);
	       this.setDegreZ(dz);
	       this.setFocal(f);
	}
	
}
